package com.interceptor;

import com.model._do.login_do.LoginStatusDO;
import org.springframework.util.StringUtils;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.Map;
import java.util.logging.Logger;

public class AccessSpringInterceptor extends HandlerInterceptorAdapter {

    Logger logger = Logger.getLogger("AccessSpring");

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
        logger.info("Access In Spring");
        return true;
    }
}
